<template>
  <div class="font">
    <div>
      <el-row>
        <el-col :span="22" :offset="1">
          <el-breadcrumb separator-class="el-icon-arrow-right">
            <el-breadcrumb-item :to="{ path: '/engagement/Meeting' }"><span>MEETING</span></el-breadcrumb-item>
            <el-breadcrumb-item><span class="spn">中华医学会2013年学术会议暨中华医学奖2012颁奖大会</span></el-breadcrumb-item>
          </el-breadcrumb>
        </el-col>
        <el-col :span="20">
          <div>
            <div :class="item.toolscon" v-for="item in items">
              <ul :class="item.tools" class="tools">
                <li :class="item.class"><span>{{item.name}}</span></li>
              </ul>
            </div>
          </div>
        </el-col>
      </el-row>
      <el-row>
        <el-col :span="22" :offset="1">
          <ConferenceMessage></ConferenceMessage>
        </el-col>
      </el-row>
    </div>
  </div>
</template>

<script>
  import ConferenceMessage from './ConferenceMessage'
  export default {
    data() {
      return {
        activea:true,
        activeb:false,
        activec:false,
        actived:false,
        activee:false,
        items: [
          {toolscon:'tools-con1',tools:'tools1',class:'del',name:'删除'},
          {toolscon:'tools-con2',tools:'tools2',class:'speak',name:'显示讲者'},
          {toolscon:'tools-con3',tools:'tools3',class:'attend',name:'计划院内会'},
        ]
      }
    },
    components: {
      ConferenceMessage
    },
    methods:{
      isActivea(){
        this.activea = true;
        this.activeb = false;
        this.activec = false;
        this.actived = false;
        this.activee = false
      },
      isActiveb(){
        this.activea = false;
        this.activeb = true;
        this.activec = false;
        this.actived = false;
        this.activee = false
      },
      isActivec(){
        this.activea = false;
        this.activeb = false;
        this.activec = true;
        this.actived = false;
        this.activee = false
      },
      isActived(){
        this.activea = false;
        this.activeb = false;
        this.activec = false;
        this.actived = true;
        this.activee = false
      },
      isActivee(){
        this.activea = false;
        this.activeb = false;
        this.activec = false;
        this.actived = false;
        this.activee = true
      },
    }
  }
</script>

<style scoped>
  @import '../../../assets/index.css';
  .font{
    font-size: 14px;
  }
  .el-row{
    padding: 10px 0;
  }
  .el-breadcrumb{
    height: 50px;
    font-size: 20px;
  }
  .el-breadcrumb>.el-breadcrumb-item{
    text-decoration: none;
  }
  span{
    color: #fff;
  }
  .spn{
    display: inline-block;
    padding-bottom: 5px;
    border-bottom: 2px solid #fff;
  }

  .tools-con{
    background-color: rgba(245, 245, 248, 0.1);
    border-radius: 10px;
    padding: 20px 10px;
  }

  a{
    text-decoration: none;
    color: #fff;
  }


  .activea{
    background-color: rgba(0,0,0,.3)
  }
  .activeb{
    background-color: rgba(0,0,0,.3)
  }
  .activec{
    background-color: rgba(0,0,0,.3)
  }
  .actived{
    background-color: rgba(0,0,0,.3)
  }
  .activee{
    background-color: rgba(0,0,0,.3)
  }
  .basic {
    background-color: rgba(245, 245, 248, 0.1);
    z-index:100;
    position: fixed;
    right: 0;
/*    background: #018D75;*/
    border-radius: 5px 0 0 5px;

  }
  .basic > div {
    color: #fff;
    padding: 15px 20px;
    text-align: center;
  }


  .tools>li{
    color: #fff;
    list-style-type:none;
    padding: 0 8px 0 40px;
    border: 2px solid #fff;
    line-height: 40px;
    border-radius: 3px;
    font-size: 18px;
  }
  /*一*/
  .tools-con1{
    position: absolute;
    right: 0;
    overflow: hidden;
    z-index: 99;
  }
  .tools1{
    margin-right: -47px;
  }
  .tools1:hover{
    width: 150px;
  }
  /*二*/
  .tools-con2{
    position: absolute;
    right: 0;
    top: 120px;
    overflow: hidden;
    z-index: 99;
  }
  .tools2{
    margin-right: -83px;
  }
  .tools2:hover{
    width: 210px;
  }
  /*三*/
  .tools-con3{
    position: absolute;
    right: 0;
    top: 170px;
    overflow: hidden;
    z-index: 99;
  }
  .tools3{
    margin-right: -100px;
  }
  .tools3:hover{
    width: 250px;
  }
</style>
